package com.monitor.service;

import com.baomidou.mybatisplus.service.IService;
import com.monitor.entity.ErpInspectionContent;
import com.monitor.util.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LX
 * @since 2018-09-30
 */
public interface ErpInspectionContentService extends IService<ErpInspectionContent> {

    Integer getMaxIdContent(String plate);//根据车牌号获取当前检测信息最大的信息id

    Double gettaiwenmohao(List<ErpInspectionContent> inspectionContents);//算出胎纹磨耗

    Double getpinjuntaiwenshendu(ErpInspectionContent inspectionContent);//计算平均胎纹深度

    Integer getMaxIdContentByPro(String plate,String startDate,String endDate);

    Result<Map<String,Object>> selectByWuLiaoDangAn(String number,String carPlate,String name,String location);   //统计管理-车辆物料-物料档案查询
}
